package projet.test;
import projet.Tools;
import projet.CustomException;
import junit.framework.TestCase;
/**
 * @author CORSINI Pierre
 *
 */
public class _TEST_Encryption extends TestCase
{
	public void testGeneric1()
	{
		String s = "Hello World!";
		String ss = "??fds";
		assertFalse(Tools.Encode(s).equals(Tools.Encode(ss)));
	}

	public void testGeneric2() 
	{
		String s = "Hello World!";
		String ss = "Hello World!";
		new CustomException(s);
		assertTrue(Tools.Encode(s).equals(Tools.Encode(ss)));
	}
}
